/*
 * redmicro all Copyright (c)

 * Created by seeker910 on 2015/1/6.
 */
Rsd.define('Rsd.Faith.pages.SysConfigListPage', {
    extend: 'Rsd.Faith.pages.ListPage',
    requires: [],
    modelType:'SysConfigItemModel',
    gridColumns:[
        {
            "text": "序号",
            "xtype": "index",
            "width": 40,
            "index": 0,
            "deep": 1
        },
        {
            "name": "BianMa",
            "dataIndex": "BianMa",
            "sortable": false,
            "text": "编码",
            "index": 20,
            "exist": true,
            "xtype": "string",
            "width": 100,
            "nobr": true,
            "deep": 1
        },
        {
            "name": "MiaoShu",
            "dataIndex": "MiaoShu",
            "sortable": false,
            "text": "描述",
            "index": 22,
            "exist": true,
            "xtype": "string",
            "width": 100,
            "nobr": true,
            "deep": 1
        },
        {
            "name": "Zhi",
            "dataIndex": "Zhi",
            "sortable": false,
            "text": "值",
            "index": 24,
            "exist": true,
            "xtype": "string",
            "width": 100,
            "nobr": true,
            "deep": 1
        },
        {
            "name": "Remark",
            "dataIndex": "Remark",
            "sortable": false,
            "text": "备注",
            "index": 200,
            "exist": true,
            "xtype": "string",
            "width": 150,
            "nobr": true,
            "deep": 1
        }
    ],
    formFields:[
        {
            "name": "BianMa",
            "label": {
                "width": 80,
                "content": "编码"
            },
            "dataIndex": "BianMa",
            "index": 20,
            "exist": true,
            readOnly:true,
            "xtype": "text",
            "length": 20
        },
        {
            "name": "MiaoShu",
            "label": {
                "width": 80,
                "content": "描述"
            },
            "dataIndex": "MiaoShu",
            "index": 22,
            "exist": true,
            readOnly:true,
            "xtype": "text",
            "length": 20
        },
        {
            "name": "Zhi",
            "label": {
                "width": 80,
                "content": "值"
            },
            "dataIndex": "Zhi",
            "index": 24,
            "exist": true,
            "xtype": "text",
            "length": 20
        },

        {
            "name": "Remark",
            "label": {
                "width": 80,
                "content": "备注"
            },
            "dataIndex": "Remark",
            "index": 200,
            "exist": true,
            "xtype": "text",
            "length": 100
        }
    ],
    /*
    * */
    constructor: function (config) {
        var me = this;
        config = config || {};
        Rsd.apply(this, config);

    }
});
